<?php

return $config['route'] = array(
	'/helpcenter/pages' => array(
		'type' => 'regex',
		'route' => '/\/helpcenter\/(.*)/i',
		'params' => 'page=$1'
	),
	'/deal/' => array(
		'type' => 'regex',
		'route' => '/\/deal\/(\d+)\.html/i',
		'params' => 'id=$1'
	),
	'/deal/buy/' => array(
		'type' => 'regex',
		'route' => '/\/deal\/buy\/(\d+)\.html/i',
		'params' => 'tid=$1'
	),
	'/user/order/detail/' => array(
		'type' => 'regex',
		'route' => '/\/user\/order\/(\d+)/i',
		'params' => 'oid=$1'
	),
	'/about/' => array(
		'type' => 'regex',
		'route' => '/\/about\/(.*)/i',
		'params' => 'filename=$1'
	),
	'/help/' => array(
		'type' => 'regex',
		'route' => '/\/help\/(.*)/i',
		'params' => 'filename=$1'
	),
	'/business/' => array(
		'type' => 'regex',
		'route' => '/\/business\/(.*)/i',
		'params' => 'filename=$1'
	),
);
//class Route_config  extends Route {
//	
//	protected $router = array(
//		'city' => array(
//			'type' => 'normal',
//			'route' => array('/bj'),
//			'module' => 'index',
//			'controller' => 'city',
//			'params' => ''
//		),
//		'blog' => array(
//			'type' => 'regex',
//			'route' => '',
//			'module' => 'index',
//			'controller' => '',
//			'params' => ''
//		)
//	);
//}
//return new Route_config();